Skip to content

Decryption of encrypted SAML responses. - #169

Open
Heikkips wants to merge 1 commit into
GluuFederation:version_3.1.6from
Heikkips:saml_decrypt
Open

Decryption of encrypted SAML responses.#169
Heikkips wants to merge 1 commit into
GluuFederation:version_3.1.6from
Heikkips:saml_decrypt

Conversation

@Heikkips

@Heikkips Heikkips commented Dec 3, 2019

Copy link
Copy Markdown

Added a functionality for the decryption of the encrypted assertions of the SAML responses.

Can be used from the custom scripts in following way:

saml_response = requestParameters.get("SAMLResponse")[0]

samlResponse = org.gluu.saml.Response(self.samlConfiguration)

samlResponse.loadEncryptedXmlFromBase64(saml_response)

saml_response_attributes = samlResponse.getDecryptedAttributes(
                                                self.keystoreType, 
                                                self.keystoreLocation, self.keystorePassword, 
                                                self.keyAlias,self.keyPassword)

saml_response_name_id = samlResponse.getDecryptedNameId()

@Heikkips
Heikkips changed the base branch from master to version_3.1.5 December 3, 2019 07:55
@Heikkips
Heikkips changed the base branch from version_3.1.5 to version_3.1.6 December 3, 2019 07:55
@whlowe
whlowe requested a review from yurem December 6, 2019 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant